package edu.interceptor.annotation;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @author 潘一
 * @description
 * @date
 */
@Aspect
@Component
public class TransactionInterceptor {

    @Pointcut("execution(* edu.service.*.*(..))")
    public void point(){}

    @Before("point()")
    public void TransactionInterceptor(){

    }
}
